package atm.dao;

import atm.pojo.UserDO;

public interface UserDAO {

    /**
     * 根据用户名和密码查询用户
     * @param username
     * @param pwd
     * @return
     */
    UserDO getBYUsernameAndPwd(String username, String pwd);

    void update(UserDO user);

    UserDO getById(int id);

    UserDO getByUsername(String username);






}
